// $Id: etpro_menu_config2.menu,v 1.1.2.3 2004/10/10 13:13:53 fretn Exp $

#include "ui/menudef.h"

// Defines //

//#define WINDOW_X		32
//#define WINDOW_Y		32
//#define WINDOW_WIDTH	576
//#define WINDOW_HEIGHT	416
#define WINDOW_X		16
#define WINDOW_Y		16
#define WINDOW_WIDTH	400
#define WINDOW_HEIGHT	446
#define GROUP_NAME		"grpetpromenuconfig2"

// Macros //

#include "ui/menumacros.h"
		
///////////////////////////////////////////ETPRO CONFIG///////////////////////////////////////////

menuDef {
	name		"etpro_menu_config2"
	visible		0
	fullscreen	0
	rect		WINDOW_X WINDOW_Y WINDOW_WIDTH WINDOW_HEIGHT
	style		WINDOW_STYLE_FILLED
	
	onESC {
		close etpro_menu_config2;
		open etpro_menu_main
	}

#define SUBWINDOW_WIDTH		WINDOW_WIDTH-12

// Window //

	WINDOW( "CONFIGURATION", 94 )
	
// Sounds //

	SUBWINDOW( 6, 32, (SUBWINDOW_WIDTH), 76, "SOUNDS" )
	// rain - reordered for consistency
	MULTI( 8, 48, (SUBWINDOW_WIDTH)-4, 10, "Hit sounds:", .2, 8, "b_hitsounds", cvarFloatList { "No" 0 "Yes" 1 "Headshots Only" 2 }, "Controls whether a sound is played when successfully shooting another player" )
	YESNO( 8, 60, (SUBWINDOW_WIDTH)-4, 10, "Chat sounds:", .2, 8, "b_chatsounds", "Enables an audio notification whenever a player sends a text message" )
	YESNO( 8, 72, (SUBWINDOW_WIDTH)-4, 10, "Shove sounds:", .2, 8, "b_shovesounds", "Allows players to enable or disable shove sounds" )
	YESNO( 8, 84, (SUBWINDOW_WIDTH)-4, 10, "Goat sound:", .2, 8, "b_goatsound", "Enables the goat sound for knife kills" )
	YESNO( 8, 96, (SUBWINDOW_WIDTH)-4, 10, "Announcer:", .2, 8, "cg_announcer", "Enables the announcer (e.g. the 'Fight!' sound)" )

// Weapons //

	SUBWINDOW( 6, 114, (SUBWINDOW_WIDTH), 40, "WEAPONS" )
	YESNO( 8, 130, (SUBWINDOW_WIDTH)-4, 10, "'weapalt' Reloads:", .2, 8, "b_weapaltreloads", "Enables reloading with 'weapalt' for weapons that dont got secondairy fire option" )
	MULTI( 8, 142, (SUBWINDOW_WIDTH)-4, 10, "L4 Soldier SMG Weapon Bank:", .2, 8, "b_panzerhack", cvarFloatList { "2" 1 "3" 0 }, "The slot (weapon bank) where sub-machine guns are placed when you reach level 4 heavy weapons" )

// Buttons //

	BUTTON( 6, WINDOW_HEIGHT-44, WINDOW_WIDTH-12, 18, "^n<<^* PREV", .3, 14, close etpro_menu_config2 ; open etpro_menu_config )
	BUTTON( 6, WINDOW_HEIGHT-24, WINDOW_WIDTH-12, 18, "BACK", .3, 14, close etpro_menu_config2 ; open etpro_menu_main )

}
